package com.budwk.app.miniapp.models;

import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;


/**
 * 用户反馈对象 wx_feedback
 * ====================================
 * author: bigpig
 * date:2023/3/30 2:07 下午
 **/
@Data
@Table("wx_feedback")
public class WxFeedBack extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 反馈id
     */
    @Id
    @Column("feed_id")
    @Comment("反馈id")
    @ApiModelProperty(description = "反馈id")
    @ColDefine(type = ColType.INT, width = 32)
    private Integer feedId;

    /**
     * 用户id
     */
    @Column("user_id")
    @Comment("用户id")
    @ApiModelProperty(description = "用户id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String userId;

    /**
     * 反馈内容
     */
    @Column("content")
    @Comment("反馈内容")
    @ApiModelProperty(description = "反馈内容")
    @ColDefine(type = ColType.VARCHAR, width = 512)
    private String content;

    /**
     * 来源
     */
    @Column("src")
    @Comment("来源")
    @ApiModelProperty(description = "来源")
    @ColDefine(type = ColType.VARCHAR, width = 16)
    private String src;
}
